﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ninject;
using NInject.Practice;
using NInject.Practice.NinjectModules;

namespace NInject.Tests
{
    public class ApplicationBootstrap
    {
        private static StandardKernel _kernel;

        public static IKernel RegisterKernel()
        {
            _kernel=new StandardKernel();

            _kernel.Load<MessageSenderModule>();
            _kernel.Load<MyServiceModule>();

            return _kernel;
        }
    }
}
